home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Java 1996 August
/
Java - Summer 1996.iso
/
kaffe-0.2
/
kaffe
/
code.h
< prev
next >
Wrap
C/C++ Source or Header
|
1996-02-12
|
713b
|
37 lines
/*
* code.h
* Define a code module.
*
* Copyright (c) 1996 Systems Architecture Research Centre,
* City University, London, UK.
*
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
* Written by Tim Wilkinson <tim@sarc.city.ac.uk>, February 1996.
*/
#ifndef __code_h
#define __code_h
#include "exception.h"
union _attribute_info;
typedef struct _Code {
u2 max_stack;
u2 max_locals;
u4 code_length;
u1* code;
u2 exception_table_length;
exception* exception_table;
u2 attribute_count;
union _attribute_info* attributes;
} Code;
struct _methods;
void addCode(struct _methods*, uint32, classFile*);
#endif